FROM registry.baidubce.com/aip-public/jdk:8u333-alpine

LABEL maintainer="kcs@kenson.net.cn"

COPY system-server/target/*.jar /app.jar

ENV TZ=Asia/Shanghai

ENV JAVA_OPTS="-Xms1024m -Xms1024m -XX:+PrintFlagsFinal -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=./heapdump.hprof"

EXPOSE 2204

CMD java $JAVA_OPTS -jar -Djava.security.egd=file:/dev/./urandom /app.jar $ARGS
